package com.mingzhi.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{

    /**
     * 用手机或者邮箱都可以登录
     */
    @NotBlank(message = "邮箱或手机号不能为空！")
    private String loginName;

    /**
     * 密码
     */
    @NotBlank(message = "登录密码不能为空！")
    private String password;
}
